﻿using System;
using System.ComponentModel.Composition;

namespace ExcelAutomator
{
	[MetadataAttribute]
	[AttributeUsage(AttributeTargets.Class)]
	public class ExecutorAttribute : ExportAttribute, IExecutorMetadata
	{
		public string Name { get; private set; }
		public string Type { get; private set; }
		public string ActionId { get; private set; }


		public ExecutorAttribute(string name, string type, string actionId) : base(typeof(IExecutor))
		{
			Name = name;
			Type = type;
			ActionId = actionId;
		}
	}
}
